package com.mxfcode.front.bbs_message.mapper;

import com.mxfcode.entity.BBSMessage;
import com.mxfcode.front.dto.MessageDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author moxiufeng
 * @date 2021/4/22 11:01
 */
@Repository
public interface MessageMapper {
    List<MessageDTO> selectMessageList();

    int addMessage(BBSMessage message);
}
